package com.zzjson.demo.mvc.controller;

import com.zzjson.demo.mvc.service.DemoService;
import com.zzjson.mvcframework.annoation.MyAutowired;
import com.zzjson.mvcframework.annoation.MyRequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * <p>****************************************************************************</p>
 * <p><b>Copyright © 2010-2019 shuncom team All Rights Reserved<b></p>
 * <ul style="margin:15px;">
 * <li>Description : com.zzjson.demo.mvc</li>
 * <li>Version     : 1.0.0</li>
 * <li>Creation    : 2019年05月13日</li>
 * <li>@author     : zzy0_0</li>
 * </ul>
 * <p>****************************************************************************</p>
 */
@com.zzjson.mvcframework.annoation.MyController
public class TestController {
	@MyAutowired("demoService")
	private DemoService demoService;

	@MyRequestMapping("/test")
	public void test(HttpServletRequest request, HttpServletResponse response) throws IOException {
		System.out.println("enter test");
		response.getWriter().println("ds");

	}

}